/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.govProcure.model;

import com.yunhoo.sys.util.common.LoginParam;
import java.util.Date;

/**
 *
 * @author Administrator
 */
public class ExecuteAppend {

    private int id = 0;
    private String anumber = "";
    private String orgCode;
    private String orgName;
    private Integer iyear;
    private String dataPeriod = "";
    private Date date1 = new Date();
    private Date date2 = new Date();
    private Double numCount1 = null;
    private Double numCount2 = null;
    private Double numCount3 = null;
    private Double numCount4 = null;
    private String content1 = "";
    private String content2 = "";
    private String content3 = "";
    private String content4 = "";

    public ExecuteAppend() {
        orgCode = LoginParam.getOrg().getCode();
    }

    public ExecuteAppend(boolean initWithLoginParam) {
        if (initWithLoginParam) {
            this.orgCode = LoginParam.getOrg().getCode();
            this.orgName = LoginParam.getOrg().getName();
            this.iyear = LoginParam.getIyear();
        }
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Integer getIyear() {
        return iyear;
    }

    public void setIyear(Integer iyear) {
        this.iyear = iyear;
    }

    public String getContent1() {
        return content1;
    }

    public void setContent1(String content1) {
        this.content1 = content1;
    }

    public String getContent2() {
        return content2;
    }

    public void setContent2(String content2) {
        this.content2 = content2;
    }

    public String getContent3() {
        return content3;
    }

    public void setContent3(String content3) {
        this.content3 = content3;
    }

    public String getContent4() {
        return content4;
    }

    public void setContent4(String content4) {
        this.content4 = content4;
    }

    public String getDataPeriod() {
        return dataPeriod;
    }

    public void setDataPeriod(String dataPeriod) {
        this.dataPeriod = dataPeriod;
    }

    public Date getDate1() {
        return date1;
    }

    public void setDate1(Date date1) {
        this.date1 = date1;
    }

    public Date getDate2() {
        return date2;
    }

    public void setDate2(Date date2) {
        this.date2 = date2;
    }

    public String getAnumber() {
        return anumber;
    }

    public void setAnumber(String anumber) {
        this.anumber = anumber;
    }

    public Double getNumCount1() {
        return numCount1 == null ? 0d : numCount1;
    }

    public void setNumCount1(Double numCount1) {
        this.numCount1 = numCount1;
    }

    public Double getNumCount2() {
        return numCount2 == null ? 0d : numCount2;
    }

    public void setNumCount2(Double numCount2) {
        this.numCount2 = numCount2;
    }

    public Double getNumCount3() {
        return numCount3 == null ? 0d : numCount3;
    }

    public void setNumCount3(Double numCount3) {
        this.numCount3 = numCount3;
    }

    public Double getNumCount4() {
        return numCount4 == null ? 0d : numCount4;
    }

    public void setNumCount4(Double numCount4) {
        this.numCount4 = numCount4;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
